#!/bin/bash
sudo mkdir -p /etc/docker
## 此处使用自己申请的阿里云docker 镜像地址
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://iuw4a9x7.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker